package com.study.javaOther.chain.permission.rule;

import com.study.javaOther.chain.accoperation.IACCOperation;
import com.study.javaOther.chain.enums.Rules;

/**
 * @Name: BinocularPermission
 * @Description: 双目权限
 * @Author: yn
 * @CreateDate: 2022/4/14 16:12
 * @Remark: 特殊说明
 * @Version: 1.0
 */
public class BinocularRule extends IRule {
    private String right;
    private Rules rules;

    public BinocularRule(String left, String right, IACCOperation operation){
        super(left,operation);
        this.right=right;
    }

    @Override
    public boolean check() {
        return super.check();
    }
}
